package com.rj.core.domain;

import com.rj.core.constant.DateFormat;
import com.rj.core.constant.DigitsEnum;
import com.rj.core.constant.RegexpPool;
import com.rj.core.validation.constraints.DateField;
import com.rj.core.validation.constraints.DigitsField;
import com.rj.core.validation.constraints.NumberField;
import com.rj.core.validation.constraints.StringField;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 数据处理Map
 *
 * @author YFX_RANLUBO
 * @date 2022/10/20 17:11
 **/
public class BeanDomain3 extends SuperDomain {
    @StringField(value = "标题", empty = false, maxLen = 10)
    private String title;

    public String getTitle() {
        return get(title);
    }

    public void setTitle(String title) {
        this.title = set(title);
    }
}

class SuperDomain {
    public <V> V get(V value) {
        return value;
    }

    public <V> V set(V value) {
        return value;
    }
}